@echo off
chcp 65001

if not exist logs md logs

if not exist temp md temp

echo "1. starting boot debug env"
echo "2. starting pass debug env"
echo "3. starting boot prod env"
echo "4. starting pass prod env"
echo "5. starting boot develop env"
set/p a=Please choice:

if "%a%"=="1" goto :BOOT_DEBUG :end
if "%a%"=="2" goto :PAAS_DEBUG :end
if "%a%"=="3" goto :BOOT_PROD :end
if "%a%"=="4" goto :PASS_PROD :end
if "%a%"=="5" goto :BOOT_DEVELOP :end
echo you choice error, will exit...
ping 127.1>nul
exit

:BOOT_DEBUG
start nginx.exe  -c  conf/nginx-boot-windows-dev.conf
pause
goto end
:PAAS_DEBUG
start nginx.exe  -c  conf/nginx-paas-windows-dev.conf
pause
goto end
:BOOT_PROD
start nginx.exe  -c  conf/nginx-boot-windows-prod.conf
pause
goto end
:PAAS_PROD
start nginx.exe  -c  conf/nginx-paas-windows-prod.conf
pause

:BOOT_DEVELOP
start nginx.exe  -c  conf/nginx-boot-windows-develop.conf
pause

goto end

:end
exit /b

